﻿//======================================================================
//
//        Copyright (C) 2008 HOHO``
//        All rights reserved
//
//        filename :$safeitemrootname$
//        description :管理员操作，角色设置。
//
//        created by 裘中杰 at  $time$
//======================================================================

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Hisun.Models;

namespace Hisun.View.Admin
{
    public partial class Role : AbcPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void DetailsView1_ModeChanged(object sender, EventArgs e)
        {
            DetailsView1.ChangeMode(DetailsViewMode.Insert);
        }

        protected void DetailsView1_ItemInserting(object sender, DetailsViewInsertEventArgs e)
        {
            e.Values["权限ID"] = "0";
            GridView1.DataBind();
        }
    }
}
